<style type="text/css">
    
.com-login .form-control-feedback {
left: 0;color: #FF6600;
}

.com-login .has-feedback input {
    
padding-left: 30px;

}
    
</style>




<?php if(isset($_SESSION['user_id'])):?>


<?php else:?>
<div class="col-md-4" style="padding:0;">
          <div class="com-user">
            <h3 class="text-center">校友登录</h3>
            
            <?php   $form=$this->beginWidget('CActiveForm', array(
                    'id'=>'login-form',
                    'enableClientValidation'=>true,
                    'clientOptions'=>array(
                    'validateOnSubmit'=>true,
                    ),
            )); ?>
            
            <form class="com-login" role="form">
              <div class="com-login-cell form-group has-feedback col-md-8 col-md-offset-2">
                <label class="sr-only" for="user_phone">手机号码</label>
                <input type="text" class="form-control" id="user_phone" placeholder="手机号码">
                <span class="glyphicon glyphicon-user form-control-feedback"></span>
              </div>
              <div class="com-login-check form-group has-feedback col-md-5 col-md-offset-2">
                <label class="sr-only" for="user_check">验证码</label>
                <input class="form-control" type="text" id="user_check" placeholder="验证码">
                <span class="glyphicon glyphicon-random form-control-feedback"></span>
              </div>
              <button type="submit" class="com-login-get btn btn-default col-md-3">获取验证码</button>
              <button type="submit" class="com-login-btn btn-lg btn btn-default col-md-8 col-md-offset-2">登录/注册</button>
            </form>
            
              <?php $this->endWidget(); ?>	
            
            <div class="com-download">
              <img src="/images/download_bg.png">
              <a href="javascript:;" class="com-ios"></a>
              <a href="javascript:;" class="com-andriod"></a>
            </div>
          </div>
</div>



<?php endif;?>
